<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="/static/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <script src="/static/js/jquery-3.1.1.min.js"></script>
    <script src="http://cdn.static.runoob.com/libs/angular.js/1.4.6/angular.min.js"></script>
    <script src="/static/js/angular-sanitize.min.js"></script>
</head>
<body ng-app="previewApp" ng-controller="previewCtrl">
<div class="container" ng-bind-html="blog.content">
</div>
<script>
    var app = angular.module('previewApp', ['ngSanitize']);
    app.controller('previewCtrl', function($scope,$http) {
        $scope.fetchBlog=function () {
            $http.get('blog/get/18').success(function (data) {
                $scope.blog = data.data;
            })
        }
        $scope.fetchBlog();
    })
</script>
</body>
</html>